<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;



/**
 * App\UserAddress
 *
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress newQuery()
 * @method static \Illuminate\Database\Query\Builder|\App\UserAddress onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress query()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Query\Builder|\App\UserAddress withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\UserAddress withoutTrashed()
 * @mixin \Eloquent
 * @property int $id 地址标识
 * @property int $user_id 用户标识
 * @property string|null $consignee 收件人
 * @property string|null $province 省份
 * @property string|null $city 城市
 * @property string|null $area 地区
 * @property string|null $address 详细地址
 * @property string|null $postcode 邮政编码
 * @property string|null $phone 手机号
 * @property int $is_default 是否默认地址，0：否，1：是
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereArea($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereCity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereConsignee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereIsDefault($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress wherePostcode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereProvince($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereUserId($value)
 * @property int $enterprise_id 所属企业
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereEnterpriseId($value)
 * @property string $lng 经度
 * @property string $lat 纬度
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereLat($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereLng($value)
 * @property int $floor 楼层
 * @property int $has_lift 是否有电梯
 * @property int $type 地址类型，0收货地址，1配送地址
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereFloor($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereHasLift($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserAddress whereType($value)
 */
class UserAddress extends Model
{
    protected $table='user_address';
    use SoftDeletes;
}
